<template>
	<view class="content">
		<image class="bg" src="/pages_mine/pages/static/invite/bg.png" mode=""></image>
		
		<!-- <view class="myNumberBox">
			<view class="name">我的邀请码：</view>
			<view class="number fontSemiBold">{{number}}</view>
		</view> -->
		
		<button class="sureBtn" open-type="share">
			<image class="sureBtn" src="/pages_mine/pages/static/invite/bg_1.png" mode="widthFix"></image> <!-- @tap="btnSure" -->
		</button>
		
	</view>
</template>
<style>
	.content{width: 100%;height: 100vh;position: relative;}
	.content .bg{width: 100%;height:100vh;}
	.content .myNumberBox{width: 100%;position: absolute;bottom:20%;left:0;z-index: 2;display: flex;justify-content: center;}
	.content .myNumberBox .name{color:white;font-size: 48upx;}
	.content .myNumberBox .number{color:white;font-size: 48upx;}
	.content .sureBtn{width: 90%;height:110upx;position: absolute;bottom:10%;left:5%;z-index: 2;display: flex;justify-content: center;}
	.content button{background: none;}
</style>
<script>
	import Share from '@/common/wx_share.js'
	export default {
		data() {
			return {
				share:{
					title:"",
					path:'/pages/tabbar/index',
					imageUrl:'',
					desc:'',
					content:''
				},
				number:213123,
				
				
				
				
				
				
				
				
			}
		},
		onLoad(){
			this.AjaxLoad()
		},
		methods: {
			AjaxLoad(){
				return;
				let param={
					client_id:1,
					api_token:this._$md5Ways("Index/index"),
					token:this._$userToken("userInfo").token,
					page:this.pages
				};
				this._$InitRequest.request("Index/index", param).then(res => {
					console.log( res , "index" );
				},error=>{})
			},
			btnSure(){
				uni.share({
				    provider: "weixin",
				    scene: "WXSceneSession",
				    type: 0,
				    href: "www.baidu.com",
				    title: this.data.title,
				    summary: this.data.contents,
				    imageUrl: this.videoData.poster,
				    success: function (res) {
				        console.log("success:" + JSON.stringify(res));
				    },
				    fail: function (err) {
				        console.log("fail:" + JSON.stringify(err));
				    }
				});
			},
		}
	}
</script>
<style lang="scss" scoped>
/deep/ .uni-input-input {font-size:32upx}
/deep/ .uni-radio-input-checked{background-color:rgb(110,43,34) !important;border:2upx solid white !important}
.content .html{
  ::v-deep {
    img {
      width: 100%;
    }
  }
}
</style>